/*
* @Author: guonianlei
* @Date:   2017-07-08 17:15:02
* @Last Modified by:   guonl
* @Last Modified time: 2018-01-02 00:02:34
*/
'use strict';

// require('../module.js');
// require('./index.css');
var _mm = require('util/mm.js');

// _mm.request({
// 	url:'http://localhost:9001/mmall/product/list.do?keyword=1',
// 	success: function(res){
// 		console.log(res);
// 	},
// 	error: function(errorMsg){
// 		console.log(errorMsg);
// 	}

// })
// console.log("测试参数的输出");
// console.log(_mm.getUrlParam('test'));
var html = '<div>{{data}}</div>';
var data = {
	data : '渲染'
}
console.log("测试模板渲染");
console.log(_mm.renderHtml(html,data));

